package com.example.firstjavamqtt.service.base;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.firstjavamqtt.model.base.User;

public interface UserService extends IService<User> {
    void register(User user);

    User getByUsername(String username);

    void login(User user);

    Page<User> getAll(int pageNum, int limit);
}
